#ifdef WITH_OPENAL

#pragma once
#include "audio_output.h"

namespace krryn{
namespace audio_imp{
	class output_openal : public audio::output{
	public:
		output_openal();
		virtual ~output_openal();
		virtual int sample_rate();
		virtual void write(audio::sample::ptr a_Sample);
	private:
		class impl;
		impl *m_Pimpl;

		int m_BufferCount;
		int m_Total;
	};
}
}

#endif